package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `json:"username"`
	Password string `json:"password"`
}
type Art struct {
	gorm.Model
	Title     string `json:"Title"`
	Content   string `json:"Content"`
	CommCount int    `json:"comm_count"`
}
type Comm struct {
	gorm.Model
	UserId int `json:"user_id"`
	ArtId  int `json:"art_id"`
}
